package com.csdn.reposity;

import com.csdn.config.BaseConfig;

import java.util.List;
import java.util.Set;

public interface ConfigReposity {
    String mode();
    //添加监听
    void initial(Set<Class<? extends BaseConfig>> collects) throws Exception;
   //根据类信息加载配置
    List<?extends BaseConfig> load(Class<? extends BaseConfig> clazz);

}
